import { $t } from "@/plugins/i18n";

export default {
  path: "/demo",
  redirect: "/demo/websocket/index",
  meta: {
    icon: "informationLine",
    title: $t("websocket"),
    showLink: false,
    rank: 11
  },
  children: [
    {
      path: "/demo/websocket/index",
      name: "Websocket",
      component: () => import("@/views/demo/websocket/index.vue"),
      meta: {
        keepAlive: true,
        title: $t("websocket")
      }
    },
    {
      path: "/demo/env-variable-list",
      name: "variable",
      component: () => import("@/views/env/index.vue"),
      meta: {
        title: "详情信息",
        showLink: false,
        activePath: "/test/websocket/index"
      }
    }
  ]
} as RouteConfigsTable;
